package com.happyass.service;

import com.happyass.pojo.Evaluate;
import com.happyass.pojo.User;
import com.happyass.pojo.page.PageInfo;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;

import java.util.HashMap;
import java.util.List;

public interface EvaluateService {
    List<Evaluate> selectAll();

    Boolean editStatus(Integer evaluateId, Integer evaluateStatus);

    List<Evaluate> selectByStaus();

    double averageStar();

    List<Evaluate> findByEvaluateStar(Integer evaluateStar);

    Page<Evaluate> selectAllevaluate(Integer page, Integer row);

    HashMap<String, Object> insertEvaluate(String staffUsername, String evaluateTime, String evaluateContent, Integer evaluateStar);
}
